package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.CcWarehouserecord;

/**
 * 出入库流水Mapper接口
 * 
 * @author 王超
 * @date 2022-07-03
 */
public interface CcWarehouserecordMapper 
{
    /**
     * 查询出入库流水
     * 
     * @param id 出入库流水主键
     * @return 出入库流水
     */
    public CcWarehouserecord selectCcWarehouserecordById(Long id);

    /**
     * 查询出入库流水列表
     * 
     * @param ccWarehouserecord 出入库流水
     * @return 出入库流水集合
     */
    public List<CcWarehouserecord> selectCcWarehouserecordList(CcWarehouserecord ccWarehouserecord);

    /**
     * 新增出入库流水
     * 
     * @param ccWarehouserecord 出入库流水
     * @return 结果
     */
    public int insertCcWarehouserecord(CcWarehouserecord ccWarehouserecord);

    /**
     * 修改出入库流水
     * 
     * @param ccWarehouserecord 出入库流水
     * @return 结果
     */
    public int updateCcWarehouserecord(CcWarehouserecord ccWarehouserecord);

    /**
     * 删除出入库流水
     * 
     * @param id 出入库流水主键
     * @return 结果
     */
    public int deleteCcWarehouserecordById(Long id);

    /**
     * 批量删除出入库流水
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCcWarehouserecordByIds(Long[] ids);

    List<CcWarehouserecord> selectCcWarehouserecordListDp(CcWarehouserecord ccWarehouserecord);

    List<CcWarehouserecord>  mobileWarehouserecordList(CcWarehouserecord ccWarehouserecord);
}
